import request from '@/utils/request'

export default {

    //获取课程
    getCourseList(page, limit, searObj) {
        return request({
            url: `/study/course/query/${page}/${limit}`,
            method: 'post',
            data: searObj
        })

    },

    //删除课程信息
    deleteCourse(ids) {
        return request({
            url: 'study/course/delete',
            method: "post",
            data: ids
        })
    },
}
